<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>sdps: Sdps_v2_5</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">sdps
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Sdps_v2_5</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_sd_ps___config.html">XSdPs_Config</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_sd_ps.html">XSdPs</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga959b013962a6b53aa1c52f8ed78153be"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga959b013962a6b53aa1c52f8ed78153be">XSdPs_FrameCmd</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 Cmd)</td></tr>
<tr class="separator:ga959b013962a6b53aa1c52f8ed78153be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c5c45efb0402b9d8e6a33d036dbd220"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 Cmd, u32 Arg, u32 BlkCnt)</td></tr>
<tr class="separator:ga1c5c45efb0402b9d8e6a33d036dbd220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf9b8a29b65e1213b11ad22312e5f84be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 BlkCnt, const u8 *Buff)</td></tr>
<tr class="separator:gaf9b8a29b65e1213b11ad22312e5f84be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1b8731883e13754fb03d56327ef2b5d"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u8 Mode)</td></tr>
<tr class="separator:gac1b8731883e13754fb03d56327ef2b5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabcd75a06ca4fb42ebcec4526282dffdf"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, <a class="el" href="struct_x_sd_ps___config.html">XSdPs_Config</a> *ConfigPtr, u32 EffectiveAddr)</td></tr>
<tr class="separator:gabcd75a06ca4fb42ebcec4526282dffdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e9a576dfdb4440a795eb6e712994050"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="separator:ga8e9a576dfdb4440a795eb6e712994050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c3ab46b98e997b8439af4b149445811"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="separator:ga3c3ab46b98e997b8439af4b149445811"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8dfe3686ed74d09a2a46a7b5cddcde47"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 Arg, u32 BlkCnt, u8 *Buff)</td></tr>
<tr class="separator:ga8dfe3686ed74d09a2a46a7b5cddcde47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69aa57979c1ef9b9ec3fbdc6d8ab7277"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 Arg, u32 BlkCnt, const u8 *Buff)</td></tr>
<tr class="separator:ga69aa57979c1ef9b9ec3fbdc6d8ab7277"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17d43f52a8948d5ec4f315641336d115"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga17d43f52a8948d5ec4f315641336d115">XSdPs_Select_Card</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="separator:ga17d43f52a8948d5ec4f315641336d115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae55b1aa663629e99a9da94619c7487c5"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="separator:gae55b1aa663629e99a9da94619c7487c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27d6bd37204cdb0c26430efedd8e97eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_sd_ps___config.html">XSdPs_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga27d6bd37204cdb0c26430efedd8e97eb">XSdPs_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="separator:ga27d6bd37204cdb0c26430efedd8e97eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1af3178b4b24c991b431eb7a0aa3b23b"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u16 BlkSize)</td></tr>
<tr class="separator:ga1af3178b4b24c991b431eb7a0aa3b23b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f8661e4ae53a7c29b3fd44cc56a3673"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga1f8661e4ae53a7c29b3fd44cc56a3673">XSdPs_Change_ClkFreq</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 SelFreq)</td></tr>
<tr class="separator:ga1f8661e4ae53a7c29b3fd44cc56a3673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf11db1719933123762fecb790a2977da"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="separator:gaf11db1719933123762fecb790a2977da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bc000fb4ce51502058f2e351c90fc19"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="separator:ga6bc000fb4ce51502058f2e351c90fc19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga779d417f6a1e5d772b017a92485583a1"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u8 *SCR)</td></tr>
<tr class="separator:ga779d417f6a1e5d772b017a92485583a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc7e71cb62142d0ef939336195102666"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u8 *ReadBuff)</td></tr>
<tr class="separator:gafc7e71cb62142d0ef939336195102666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0be8518af877aa1fe5f7c6b86ac4f7f8"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga0be8518af877aa1fe5f7c6b86ac4f7f8">XSdPs_Pullup</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="separator:ga0be8518af877aa1fe5f7c6b86ac4f7f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69e8d7cd927da4273a12d0d5fb3f36ff"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u8 *ReadBuff)</td></tr>
<tr class="separator:ga69e8d7cd927da4273a12d0d5fb3f36ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga745c6eac952b68abb760a5926c01789f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ADMA_ERR_MM_LEN_MASK&#160;&#160;&#160;0x04U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA Length Mismatch Error. </p>

</div>
</div>
<a class="anchor" id="ga1d9d6ab2c17208f9e56faf70886ef7e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ADMA_ERR_STATE_FDS_MASK&#160;&#160;&#160;0x01U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA Error State FDS. </p>

</div>
</div>
<a class="anchor" id="ga18a886d854dc73476a55dc9b5de19317"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ADMA_ERR_STATE_MASK&#160;&#160;&#160;0x03U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA Error State. </p>

</div>
</div>
<a class="anchor" id="ga69feeb0ca76ab7c342744f4c17c3b1ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ADMA_ERR_STATE_STOP_MASK&#160;&#160;&#160;0x00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA Error State STOP. </p>

</div>
</div>
<a class="anchor" id="gaeca6dccb00671ee51069716350cd2b9a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ADMA_ERR_STATE_TFR_MASK&#160;&#160;&#160;0x03U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA Error State TFR. </p>

</div>
</div>
<a class="anchor" id="ga8596f558d715af3bce27d0b872228973"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ADMA_ERR_STS_OFFSET&#160;&#160;&#160;0x54U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA Error Status Register. </p>

</div>
</div>
<a class="anchor" id="gab775116938341d21b9796ffae03fdd10"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ADMA_SAR_EXT_OFFSET&#160;&#160;&#160;0x5CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA System Address Extended Register. </p>

</div>
</div>
<a class="anchor" id="gae96828d548d3bdb30ed057eb0bdc8be1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ADMA_SAR_OFFSET&#160;&#160;&#160;0x58U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA System Address Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>.</p>

</div>
</div>
<a class="anchor" id="gad4eb2208d36f4345d4020e03a75a8941"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ARGMT1_HI_OFFSET&#160;&#160;&#160;0x0AU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Argument1 Register. </p>

</div>
</div>
<a class="anchor" id="ga17c5f8c14aa76a9a827bf742f2ae4ac5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ARGMT1_LO_OFFSET&#160;&#160;&#160;<a class="el" href="group__sdps__v2__5.html#ga0f629f596d2bcbdac2d2064dd834222e">XSDPS_ARGMT_OFFSET</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Argument1 Register. </p>

</div>
</div>
<a class="anchor" id="gab32ab9880169b81e5ab9d35524288607"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ARGMT2_HI_OFFSET&#160;&#160;&#160;0x02U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Argument2 High Register. </p>

</div>
</div>
<a class="anchor" id="ga43426e7ab84285b4c72a206205564202"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ARGMT2_LO_OFFSET&#160;&#160;&#160;0x00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Argument2 Low Register. </p>

</div>
</div>
<a class="anchor" id="ga0f629f596d2bcbdac2d2064dd834222e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ARGMT_OFFSET&#160;&#160;&#160;0x08U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Argument Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="gac3838e63e18b0a9e4e629ed93b38ac92"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_AUTO_CMD12_ERR_STS_OFFSET&#160;&#160;&#160;0x3CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD12 Error Status Register. </p>

</div>
</div>
<a class="anchor" id="ga447fb2a75530d416f83d811f94da248e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_AUTO_CMD12_NT_EX_MASK&#160;&#160;&#160;0x0001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD12 Not executed. </p>

</div>
</div>
<a class="anchor" id="gadbc1089a0e07fe03b441d7224eba5c10"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_AUTO_CMD_CNI_ERR_MASK&#160;&#160;&#160;0x0080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command not issued by Auto CMD12 Error. </p>

</div>
</div>
<a class="anchor" id="ga38d51bdd8a0211a3b9fef58b273f1110"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_AUTO_CMD_CRC_MASK&#160;&#160;&#160;0x0004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD CRC Error. </p>

</div>
</div>
<a class="anchor" id="ga56e320482742e6a619a2aa42b294f860"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_AUTO_CMD_EB_MASK&#160;&#160;&#160;0x0008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD End Bit Error. </p>

</div>
</div>
<a class="anchor" id="gac39616d27b0373ada7d57f69fa96b235"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_AUTO_CMD_IND_MASK&#160;&#160;&#160;0x0010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD Index Error. </p>

</div>
</div>
<a class="anchor" id="gae60ddda28770340f4190c68b21d7f6a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_AUTO_CMD_TOUT_MASK&#160;&#160;&#160;0x0002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD Timeout Error. </p>

</div>
</div>
<a class="anchor" id="ga311eef2831397adc78fd07e691aee110"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BGC_ALT_BOOT_EN_MASK&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Alt BootEn. </p>

</div>
</div>
<a class="anchor" id="ga0a82c37d5d1777917c976a760d5d9c96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BGC_BOOT_ACK_MASK&#160;&#160;&#160;0x00000080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Boot Ack. </p>

</div>
</div>
<a class="anchor" id="gabfd011a8a9c0c2473781fe53f9eda19e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BGC_BOOT_EN_MASK&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Boot Enb. </p>

</div>
</div>
<a class="anchor" id="ga4a892bcb6ad14e6b7c462bf6f05210e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BGC_CNT_REQ_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Cont Req. </p>

</div>
</div>
<a class="anchor" id="ga27992b5760be2e85951e69f64c988834"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BGC_INTR_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Intr. </p>

</div>
</div>
<a class="anchor" id="gab9b662718ec0b7259d9322d4b02eab4f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BGC_RWC_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Rd Wait. </p>

</div>
</div>
<a class="anchor" id="ga1e4b1b1e81e201f881acbc87899fd756"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BGC_SPI_MODE_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap SPI Mode. </p>

</div>
</div>
<a class="anchor" id="gababf16747192f5f824455c7cf80e902c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BGC_STP_REQ_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Stop Req. </p>

</div>
</div>
<a class="anchor" id="ga396934244c45cbed279c43b9abadc7f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BLK_CNT_MASK&#160;&#160;&#160;0x0000FFFFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Count for Current Transfer. </p>

</div>
</div>
<a class="anchor" id="gae0c324dd75ec228b0f7983f227202675"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BLK_CNT_OFFSET&#160;&#160;&#160;0x06U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Count Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="ga647487649c8822942fb3c84404780047"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BLK_GAP_CTRL_OFFSET&#160;&#160;&#160;0x2AU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Control. </p>

</div>
</div>
<a class="anchor" id="gaa50e45067119d5516ebd171efc11bdf1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BLK_SIZE_MASK&#160;&#160;&#160;0x00000FFFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Transfer Block Size. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, and <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>.</p>

</div>
</div>
<a class="anchor" id="ga056c8c37db130b3e8f553e38190e4578"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BLK_SIZE_OFFSET&#160;&#160;&#160;0x04U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Size Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga36a776897478c7698016a45da34c34d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BOOT_TOUT_CTRL_OFFSET&#160;&#160;&#160;0x70U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Boot timeout control register. </p>

</div>
</div>
<a class="anchor" id="gab55ec1197863796be4260591af2fcc13"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_BUF_DAT_PORT_OFFSET&#160;&#160;&#160;0x20U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Buffer Data Port. </p>

</div>
</div>
<a class="anchor" id="gaca16f624866b2ccde47ea963eae8283e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_ADMA2_MASK&#160;&#160;&#160;0x00080000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA2 support. </p>

</div>
</div>
<a class="anchor" id="gaac9eea775c118859d00d475f7d226951"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_EXT_MEDIA_BUS_MASK&#160;&#160;&#160;0x00040000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Extended media bus. </p>

</div>
</div>
<a class="anchor" id="ga209f2596b4c455d08de11f26320d398d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_HIGH_SPEED_MASK&#160;&#160;&#160;0x00200000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>High speed support. </p>

</div>
</div>
<a class="anchor" id="ga1dfb0f0abec6b472e9905f4c19b6f60e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_INTR_MODE_MASK&#160;&#160;&#160;0x08000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Interrupt mode support. </p>

</div>
</div>
<a class="anchor" id="ga5067222814c18b97f99d595e997ee0bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_MAX_BL_LN_1024_MASK&#160;&#160;&#160;0x00010000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Max block 1024 bytes. </p>

</div>
</div>
<a class="anchor" id="gadd23e275b15c0f7bc8afbec7a168e1b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_MAX_BL_LN_2048_MASK&#160;&#160;&#160;0x00020000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Max block 2048 bytes. </p>

</div>
</div>
<a class="anchor" id="ga6d1cc3e8e55cc7d3b8e23963a642728d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_MAX_BL_LN_4096_MASK&#160;&#160;&#160;0x00030000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Max block 4096 bytes. </p>

</div>
</div>
<a class="anchor" id="gab7a95db0b6370a5f9e8c1ac1979ba4f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_MAX_BLK_LEN_512B_MASK&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Max block 512 bytes. </p>

</div>
</div>
<a class="anchor" id="ga6a4730dbebc21ca61352252cbae7491f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_MAX_BLK_LEN_MASK&#160;&#160;&#160;0x00030000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Max block length. </p>

</div>
</div>
<a class="anchor" id="ga655f8c389059796e5527f68c56421309"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_SDMA_MASK&#160;&#160;&#160;0x00400000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDMA support. </p>

</div>
</div>
<a class="anchor" id="ga57b628afa64227b4ded9fbdb100be7bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_SPI_BLOCK_MODE_MASK&#160;&#160;&#160;0x40000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SPI block mode. </p>

</div>
</div>
<a class="anchor" id="gac6e0e5e022e0172428ee6c91327b42a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_SPI_MODE_MASK&#160;&#160;&#160;0x20000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SPI mode. </p>

</div>
</div>
<a class="anchor" id="ga8bd1237a7e611d6e00301344d79e1fc1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_SUSP_RESUME_MASK&#160;&#160;&#160;0x00800000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Suspend/Resume support. </p>

</div>
</div>
<a class="anchor" id="ga44be36e2ec02c85117ff4da3435e8bfe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_SYS_BUS_64_MASK&#160;&#160;&#160;0x10000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>64 bit system bus support </p>

</div>
</div>
<a class="anchor" id="ga7f2419c84165de7490b986fb72628bb7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_TOUT_CLK_FREQ_MASK&#160;&#160;&#160;0x0000003FU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Timeout clock freq select. </p>

</div>
</div>
<a class="anchor" id="gaddc6983923c3eb7697ee7a3bb638763b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_TOUT_CLK_UNIT_MASK&#160;&#160;&#160;0x00000080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Timeout clock unit - MHz/KHz. </p>

</div>
</div>
<a class="anchor" id="ga9fc8bf6ab09eedf732a86202f9d7e70d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_VOLT_1V8_MASK&#160;&#160;&#160;0x04000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>1.8V support </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gae0b49ee267bef9af48701a0320f94f08"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_VOLT_3V0_MASK&#160;&#160;&#160;0x02000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>3.0V support </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga012393a10d9a75838355e716452d2ea3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAP_VOLT_3V3_MASK&#160;&#160;&#160;0x01000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>3.3V support </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gab0ce78ece9fa1db9247804edafb13034"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAPS_ASYNC_INTR_MASK&#160;&#160;&#160;0x20000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Async Interrupt support. </p>

</div>
</div>
<a class="anchor" id="ga749d3d705d7e3932f795287e6eb67c8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAPS_EMB_SLOT&#160;&#160;&#160;0x40000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Embedded Slot. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga20cfdec07d3d07d523fd62d67339ec0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAPS_EXT_OFFSET&#160;&#160;&#160;0x44U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Capabilities Extended. </p>

</div>
</div>
<a class="anchor" id="ga112509649c3e0a85a48d471395f3ce6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAPS_OFFSET&#160;&#160;&#160;0x40U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Capabilities Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6d46349d0c937ae8d5e1b574fb770ef9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAPS_REM_CARD&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Removable Slot. </p>

</div>
</div>
<a class="anchor" id="ga65b992d6dfea0e058e00c186320fa920"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAPS_SHR_BUS&#160;&#160;&#160;0x80000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Shared Bus Slot. </p>

</div>
</div>
<a class="anchor" id="ga1f09ac71fb5dfdd6d31e03deb280347b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CAPS_SLOT_TYPE_MASK&#160;&#160;&#160;0xC0000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Slot Type. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6386e0e4144576279df5f50d2e38625a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CLK_CTRL_OFFSET&#160;&#160;&#160;0x2CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Clock Control. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1f8661e4ae53a7c29b3fd44cc56a3673">XSdPs_Change_ClkFreq()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1371f2d04ef2229cb465eb578b506e40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_CRC_CHK_EN_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command CRC Check Enable. </p>

</div>
</div>
<a class="anchor" id="ga3d5faaad12dc07797d5ae69e67319efb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_INX_CHK_EN_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Index Check Enable. </p>

</div>
</div>
<a class="anchor" id="gada823ff9354fcf1af9205e7b952f95e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_MASK&#160;&#160;&#160;0x00003F00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Index Mask - Set to CMD0-63, AMCD0-63. </p>

</div>
</div>
<a class="anchor" id="gac9d156acd34095afa82ca28c2d9fd711"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_OFFSET&#160;&#160;&#160;0x0EU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="gafe5eec57bcd6cf8469b33aa6da746761"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_RESP_L136_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Response length 138. </p>

</div>
</div>
<a class="anchor" id="ga68fcef0c7fa75e2a8db1179870ea7ef5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_RESP_L48_BSY_CHK_MASK&#160;&#160;&#160;0x00000003U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Response length 48 &amp; check busy after response. </p>

</div>
</div>
<a class="anchor" id="gab1cb6a89e3d65cdd481cf4f6e5238653"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_RESP_L48_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Response length 48. </p>

</div>
</div>
<a class="anchor" id="ga62463cbd471c830c64acf7d4ab41d76b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_RESP_NONE_MASK&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>No Response. </p>

</div>
</div>
<a class="anchor" id="ga58908f7a593a05f6e4fed72e674357f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_RESP_SEL_MASK&#160;&#160;&#160;0x00000003U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Response Type Select. </p>

</div>
</div>
<a class="anchor" id="gafb4281cc2c9c320698dd68bbb3c4df78"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_TYPE_ABORT_MASK&#160;&#160;&#160;0x000000C0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>CMD Type - Abort. </p>

</div>
</div>
<a class="anchor" id="ga326debf8eb92650f6d51bed52604ee8c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_TYPE_MASK&#160;&#160;&#160;0x000000C0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Type. </p>

</div>
</div>
<a class="anchor" id="ga845855412bf4852727b11344c477488f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_TYPE_NORM_MASK&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>CMD Type - Normal. </p>

</div>
</div>
<a class="anchor" id="gad0716c4ab5fafe32678697eccfef91ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_TYPE_RESUME_MASK&#160;&#160;&#160;0x00000080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>CMD Type - Resume. </p>

</div>
</div>
<a class="anchor" id="ga0c332a6fc7e9df562458b562acb0c2b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CMD_TYPE_SUSPEND_MASK&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>CMD Type - Suspend. </p>

</div>
</div>
<a class="anchor" id="gad5f983cd6daadb92a96fa4e7674541cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_CT_ERROR&#160;&#160;&#160;0x2U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>Command timeout flag. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, and <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gac9024b7da140cf1c18555825b3827750"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_DAT_PRESENT_SEL_MASK&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data Present Select. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, and <a class="el" href="group__sdps__v2__5.html#ga959b013962a6b53aa1c52f8ed78153be">XSdPs_FrameCmd()</a>.</p>

</div>
</div>
<a class="anchor" id="gab9c1337b4b216e1c3777aaf0b3448824"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_CLK_MULT_MASK&#160;&#160;&#160;0x00FF0000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Clock Multiplier value for Programmable clock mode. </p>

</div>
</div>
<a class="anchor" id="ga50eccb3a870bc419cecf6c6da386dfbd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_DDR50_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DDR50 Mode support. </p>

</div>
</div>
<a class="anchor" id="ga12be303cc3c88264cd1e8ec72f09406b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_DRV_TYPE_A_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DriverType A support. </p>

</div>
</div>
<a class="anchor" id="ga78700495c722e732fd3bda1ac5240990"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_DRV_TYPE_C_MASK&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DriverType C support. </p>

</div>
</div>
<a class="anchor" id="gada67e1bfc4eb0435d1dfa9057363ec7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_DRV_TYPE_D_MASK&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DriverType D support. </p>

</div>
</div>
<a class="anchor" id="ga3446aa973756cc6e19abad21145ba816"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_RE_TNG_MODE1_MASK&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Re-tuning mode 1. </p>

</div>
</div>
<a class="anchor" id="ga5e3e2528cd51b841ac13c14f4925437f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_RE_TNG_MODE2_MASK&#160;&#160;&#160;0x00004000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Re-tuning mode 2. </p>

</div>
</div>
<a class="anchor" id="ga5446616f12b2bd88db6bffb478ea6cc7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_RE_TNG_MODE3_MASK&#160;&#160;&#160;0x00008000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Re-tuning mode 3. </p>

</div>
</div>
<a class="anchor" id="ga91f9aa179e225dd0bd2774ddf3db1135"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_RE_TNG_MODES_MASK&#160;&#160;&#160;0x0000C000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Re-tuning modes support. </p>

</div>
</div>
<a class="anchor" id="ga796c9bb9f5baf6d76601508f1cfe0f72"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_SDR104_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDR104 Mode support. </p>

</div>
</div>
<a class="anchor" id="ga6e35fb285d854c5116e1ca14753c565b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_SDR50_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDR50 Mode support. </p>

</div>
</div>
<a class="anchor" id="gaf14a3c87b813e9658946392db281aa34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_SPI_BLK_MODE_MASK&#160;&#160;&#160;0x02000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SPI block mode. </p>

</div>
</div>
<a class="anchor" id="gad392e784af056b8f8da5b0f775812aac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_SPI_MODE_MASK&#160;&#160;&#160;0x01000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SPI mode. </p>

</div>
</div>
<a class="anchor" id="gad5eced61356597cec9544b57f20a6950"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_TMR_CNT_MASK&#160;&#160;&#160;0x00000F00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Timer Count for Re-tuning. </p>

</div>
</div>
<a class="anchor" id="gad6f0ea0730e8f48c9419cefe9b13f418"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ECAPS_USE_TNG_SDR50_MASK&#160;&#160;&#160;0x00002000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDR50 Mode needs tuning. </p>

</div>
</div>
<a class="anchor" id="ga92f6b9bc19b145ac7c2562115559d5dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ERR_INTR_SIG_EN_OFFSET&#160;&#160;&#160;0x3AU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Error Interrupt Signal Enable Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7ee4f57e03d125d31fb701b7b3540b47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ERR_INTR_STS_EN_OFFSET&#160;&#160;&#160;0x36U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Error Interrupt Status Enable Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga21efb57620515a9d11db602b1122ab87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ERR_INTR_STS_OFFSET&#160;&#160;&#160;0x32U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Error Interrupt Status Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="gad18091c797badbc471309b3e306de17c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_ERROR_INTR_ALL_MASK&#160;&#160;&#160;0x0000F3FFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Mask for error bits. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="gabd5768e81d9cac3561272bfa74ed4085"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_AUTO_CMD12_EIS_OFFSET&#160;&#160;&#160;0x50U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CM12 Error Interrupt Status Register. </p>

</div>
</div>
<a class="anchor" id="gafbf0816847c780fdad87a70813332d42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_AUTO_CMD12_NT_EX_MASK&#160;&#160;&#160;0x0001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD12 Not executed. </p>

</div>
</div>
<a class="anchor" id="ga933c4fe24bc9da8ea9ae560f64dc0a4c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_AUTO_CMD_CNI_ERR_MASK&#160;&#160;&#160;0x0080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command not issued by Auto CMD12 Error. </p>

</div>
</div>
<a class="anchor" id="gac9bfdf1e2810abdd1b6be67d59caf3c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_AUTO_CMD_CRC_MASK&#160;&#160;&#160;0x0004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD CRC Error. </p>

</div>
</div>
<a class="anchor" id="gadeea93001185e95b88a7603d8b6d357f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_AUTO_CMD_EB_MASK&#160;&#160;&#160;0x0008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD End Bit Error. </p>

</div>
</div>
<a class="anchor" id="ga3d5199bc9bb272601190471d71b0a799"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_AUTO_CMD_IND_MASK&#160;&#160;&#160;0x0010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD Index Error. </p>

</div>
</div>
<a class="anchor" id="ga5475bd98baa054560f8f361f87b79fd4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_AUTO_CMD_TOUT_MASK&#160;&#160;&#160;0x0002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD Timeout Error. </p>

</div>
</div>
<a class="anchor" id="gab01df91285e39e58676fdf2ee0e6d8dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_ERR_INT_STS_OFFSET&#160;&#160;&#160;0x52U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Force Event for Error Interrupt Status. </p>

</div>
</div>
<a class="anchor" id="ga7fcca79703aebabd0e8e182254120ffe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_ADMA_MASK&#160;&#160;&#160;0x0200U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA Error. </p>

</div>
</div>
<a class="anchor" id="gaece41fd1a757cb9834cb7f786169a260"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_AUTO_CMD_MASK&#160;&#160;&#160;0x0100U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD Error. </p>

</div>
</div>
<a class="anchor" id="ga3c078ba41d9344d9772f343e6571b840"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_CCRC_MASK&#160;&#160;&#160;0x0002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command CRC Error. </p>

</div>
</div>
<a class="anchor" id="ga9334f240054e1d49f435867900e9ed26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_CEB_MASK&#160;&#160;&#160;0x0004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command End Bit Error. </p>

</div>
</div>
<a class="anchor" id="ga820948cf65ec010bce369853a2d13ccc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_CI_MASK&#160;&#160;&#160;0x0008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Index Error. </p>

</div>
</div>
<a class="anchor" id="ga942f66dfaeb4d45d5bfe238d0cb22cd9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_CT_MASK&#160;&#160;&#160;0x0001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Timeout Error. </p>

</div>
</div>
<a class="anchor" id="ga644e367fef3279fafbf7582b3ee628b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_CUR_LMT_MASK&#160;&#160;&#160;0x0080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Current Limit Error. </p>

</div>
</div>
<a class="anchor" id="ga33be277874e3b2de5df2543f4f98b5ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_DCRC_MASK&#160;&#160;&#160;0x0020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data CRC Error. </p>

</div>
</div>
<a class="anchor" id="gaecb185122ce4431bdc1d414aef7c28a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_DEB_MASK&#160;&#160;&#160;0x0040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data End Bit Error. </p>

</div>
</div>
<a class="anchor" id="ga1b1d455b484c4b23d50f5fcabd19686e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_DT_MASK&#160;&#160;&#160;0x0010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data Timeout Error. </p>

</div>
</div>
<a class="anchor" id="ga64d782566f6120a2d26559adbb83fd1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_ERR_TR_MASK&#160;&#160;&#160;0x1000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Target Reponse. </p>

</div>
</div>
<a class="anchor" id="ga470fdd6237f2481fc0110f5e84a2bf89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_FE_INTR_VEND_SPF_ERR_MASK&#160;&#160;&#160;0xE000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Vendor Specific Error. </p>

</div>
</div>
<a class="anchor" id="ga34b97943b05c5e36e76bb33c110bf5ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_1V8_EN_MASK&#160;&#160;&#160;0x0008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>1.8V Signal Enable </p>

</div>
</div>
<a class="anchor" id="ga8fd430bfd1b55b0af5e957c4ec819497"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_ASYNC_INTR_EN_MASK&#160;&#160;&#160;0x4000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Asynchronous Interrupt Enable. </p>

</div>
</div>
<a class="anchor" id="gad867fc96ee217a8d25427e7e73e60d84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_DRV_STR_A_MASK&#160;&#160;&#160;0x0010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Driver Strength A. </p>

</div>
</div>
<a class="anchor" id="gad864537837f8bf00fcbdba40d98d2c22"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_DRV_STR_B_MASK&#160;&#160;&#160;0x0000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Driver Strength B. </p>

</div>
</div>
<a class="anchor" id="gac0d91eb2b8c929cccc70eece21feda20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_DRV_STR_C_MASK&#160;&#160;&#160;0x0020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Driver Strength C. </p>

</div>
</div>
<a class="anchor" id="ga235987e057b393b5030dc9458c2758a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_DRV_STR_D_MASK&#160;&#160;&#160;0x0030U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Driver Strength D. </p>

</div>
</div>
<a class="anchor" id="ga2d1236addf75c3005c78496a279568cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_DRV_STR_SEL_MASK&#160;&#160;&#160;0x0030U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Driver Strength Selection. </p>

</div>
</div>
<a class="anchor" id="ga08e0062ddf1561584e922d35239dc874"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_EXEC_TNG_MASK&#160;&#160;&#160;0x0040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Execute Tuning. </p>

</div>
</div>
<a class="anchor" id="ga9c112853e3726cf385e6989410c31a3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_PRE_VAL_EN_MASK&#160;&#160;&#160;0x8000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Preset Value Enable. </p>

</div>
</div>
<a class="anchor" id="gaedb760cc7b7e76483fd55cf813c77aa4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_SAMP_CLK_SEL_MASK&#160;&#160;&#160;0x0080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Sampling Clock Selection. </p>

</div>
</div>
<a class="anchor" id="ga278cc6b488db8707244f12c63d94b305"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_UHS_MODE_DDR50_MASK&#160;&#160;&#160;0x0004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DDR50 UHS Mode. </p>

</div>
</div>
<a class="anchor" id="ga137b2781f85ffdfea87a8db1dcdcdcb9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_UHS_MODE_MASK&#160;&#160;&#160;0x0007U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>UHS Mode select bits. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2788488008f5eaf8d4756ea282f1ef68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_UHS_MODE_SDR104_MASK&#160;&#160;&#160;0x0003U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDR104 UHS Mode. </p>

</div>
</div>
<a class="anchor" id="ga808fb682506fc651c6d6ee0a909acb0c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_UHS_MODE_SDR12_MASK&#160;&#160;&#160;0x0000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDR12 UHS Mode. </p>

</div>
</div>
<a class="anchor" id="ga5eadbc34e65c3faf83e6d68a49a2c04f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_UHS_MODE_SDR25_MASK&#160;&#160;&#160;0x0001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDR25 UHS Mode. </p>

</div>
</div>
<a class="anchor" id="ga981a556047754194a28706b1cb30f082"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC2_UHS_MODE_SDR50_MASK&#160;&#160;&#160;0x0002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDR50 UHS Mode. </p>

</div>
</div>
<a class="anchor" id="ga4ea64b27d798c4cd1733ef26b65d98f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_CARD_DET_SD_MASK&#160;&#160;&#160;0x00000080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Card Detect Sig Det. </p>

</div>
</div>
<a class="anchor" id="ga13211634fd4e0cc01a30fc4288724eb1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_CARD_DET_TL_MASK&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Card Detect Tst Lvl. </p>

</div>
</div>
<a class="anchor" id="gabd47fcd2436119baf84ad740068bc321"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_DMA_ADMA1_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA1 Mode. </p>

</div>
</div>
<a class="anchor" id="gaabcb7733a1802a8333d0dda8967787d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_DMA_ADMA2_32_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA2 Mode - 32 bit. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gacab6623568de7b823a7921ca34137472"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_DMA_ADMA2_64_MASK&#160;&#160;&#160;0x00000018U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA2 Mode - 64 bit. </p>

</div>
</div>
<a class="anchor" id="ga572fb87d6aa81b262334d7a81b75d944"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_DMA_MASK&#160;&#160;&#160;0x00000018U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DMA Mode Select. </p>

</div>
</div>
<a class="anchor" id="ga127f193afe1341b5055f1cb46e5823f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_DMA_SDMA_MASK&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDMA Mode. </p>

</div>
</div>
<a class="anchor" id="ga053e5cfcf8ad9023810507a1ef2f15bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_EXT_BUS_WIDTH&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Bus width - 8 bit. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5be4b7a09bc5b3703fcdcbc6e299981f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_LED_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>LED Control. </p>

</div>
</div>
<a class="anchor" id="gaa173508eec0c07f8dc79e46c54a2e45d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_SPEC_VER_MASK&#160;&#160;&#160;0x00FFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Host Specification version mask. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa07ab5096cbcff0ea531cd87dad81b99"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_SPEED_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>High Speed. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>.</p>

</div>
</div>
<a class="anchor" id="ga24d5110ca34a796772f5414becf30cef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_VENDOR_VER&#160;&#160;&#160;0xFF00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Vendor Specification version mask. </p>

</div>
</div>
<a class="anchor" id="ga259e62cdf5c866dfcc1607810a14e293"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HC_WIDTH_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Bus width. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>.</p>

</div>
</div>
<a class="anchor" id="ga69689aa6e0a5e28196b28c882a9236ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HOST_CTRL1_OFFSET&#160;&#160;&#160;0x28U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Host Control 1. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, and <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>.</p>

</div>
</div>
<a class="anchor" id="ga487b97e471f359589c38ae2ecba72b0c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HOST_CTRL2_OFFSET&#160;&#160;&#160;0x3EU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Host Control2 Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>.</p>

</div>
</div>
<a class="anchor" id="gacc3553b03dddae404e91c08e9a6f6a1e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_HOST_CTRL_VER_OFFSET&#160;&#160;&#160;0xFEU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Host Controller Version Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga27059a9a3c7fd408982210e6d987da73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_BGE_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Gap Event. </p>

</div>
</div>
<a class="anchor" id="ga88d6aea5ee66dcbcde471075077698c5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_BOOT_ACK_RECV_MASK&#160;&#160;&#160;0x00002000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Boot Ack Recv Interrupt. </p>

</div>
</div>
<a class="anchor" id="gaa6362c409b3b455ed19ec98a0b51b3b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_BOOT_TERM_MASK&#160;&#160;&#160;0x00004000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Boot Terminate Interrupt. </p>

</div>
</div>
<a class="anchor" id="ga7bbc8becd90cb01642edd92506a1248b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_BRR_MASK&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Buffer Read Ready. </p>

</div>
</div>
<a class="anchor" id="ga5d672782729e8b0c229f4f01b248048c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_BWR_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Buffer Write Ready. </p>

</div>
</div>
<a class="anchor" id="gaa7c2b759ff1ab9952510b9b5cf7aff96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_CARD_INSRT_MASK&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Card Insert. </p>

</div>
</div>
<a class="anchor" id="ga3b1b702abf5a0ff69ccc6383b0e5d9da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_CARD_MASK&#160;&#160;&#160;0x00000100U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Card Interrupt. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa4adb4ac37e12bc96c1b3585c9447aba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_CARD_REM_MASK&#160;&#160;&#160;0x00000080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Card Remove. </p>

</div>
</div>
<a class="anchor" id="ga96cfd1bf0599a109711447c1839ee6a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_CC_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Complete. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="gad960f4977815a61110da4820f4385a31"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_DMA_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DMA Interrupt. </p>

</div>
</div>
<a class="anchor" id="ga5adf2824bddb770961a5dd1336d2b581"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_ADMA_MASK&#160;&#160;&#160;0x00000200U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>ADMA Error. </p>

</div>
</div>
<a class="anchor" id="ga873a2c76cf80e26d31e9ee227453fcee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_AUTO_CMD12_MASK&#160;&#160;&#160;0x00000100U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD12 Error. </p>

</div>
</div>
<a class="anchor" id="ga356b1f6f6eb40bdb4962f7b95d4e74cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_CCRC_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command CRC Error. </p>

</div>
</div>
<a class="anchor" id="ga51fa8b4e90349c15b2b4c6cf15b244fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_CEB_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command End Bit Error. </p>

</div>
</div>
<a class="anchor" id="ga473884b57279b144c031a78c806f296a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_CI_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Index Error. </p>

</div>
</div>
<a class="anchor" id="gae2736e5f9616fa0a8093c032d73e8c06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_CT_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Timeout Error. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0dcbe29c28355e236a13b1ae0254d230"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_CUR_LMT_MASK&#160;&#160;&#160;0x00000080U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Current Limit Error. </p>

</div>
</div>
<a class="anchor" id="ga849509ac4a8f9c74cd379e08f98ffa39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_DCRC_MASK&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data CRC Error. </p>

</div>
</div>
<a class="anchor" id="ga01c4cf977a20ba47e930cf8238a913c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_DEB_MASK&#160;&#160;&#160;0x00000040U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data End Bit Error. </p>

</div>
</div>
<a class="anchor" id="ga73b422b3ba2abff3ca25606fdbd80618"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_DT_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data Timeout Error. </p>

</div>
</div>
<a class="anchor" id="ga322ecca01a208464114226107c6a2961"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_MASK&#160;&#160;&#160;0x00008000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Error Interrupt. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0339ecbff53196547e90f18a9f1a0705"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_ERR_TR_MASK&#160;&#160;&#160;0x00001000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Tuning Error. </p>

</div>
</div>
<a class="anchor" id="ga964e307b375ae74c1eaf4c80424626f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_INT_A_MASK&#160;&#160;&#160;0x00000200U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>INT A Interrupt. </p>

</div>
</div>
<a class="anchor" id="ga6acf366156b796a418bbdc3549dc0a09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_INT_B_MASK&#160;&#160;&#160;0x00000400U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>INT B Interrupt. </p>

</div>
</div>
<a class="anchor" id="ga69fae19f390aed99650ce4c01e3908d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_INT_C_MASK&#160;&#160;&#160;0x00000800U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>INT C Interrupt. </p>

</div>
</div>
<a class="anchor" id="ga9cbac1a02ae6280d17d3e928566ebef0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_RE_TUNING_MASK&#160;&#160;&#160;0x00001000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Re-Tuning Interrupt. </p>

</div>
</div>
<a class="anchor" id="ga4840b3795e951ab39a111003464f2334"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_TC_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Transfer Complete. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa9895662840100832b44870fb9c805ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_INTR_VEND_SPF_ERR_MASK&#160;&#160;&#160;0x0000E000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Vendor Specific Error. </p>

</div>
</div>
<a class="anchor" id="gafcee55cb77e32bd74fd4e2be98ac5458"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_MAX_CUR_CAPS_1V8_MASK&#160;&#160;&#160;0x00000F00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Maximum Current Capability at 1.8V. </p>

</div>
</div>
<a class="anchor" id="ga3af047ba2175efe0ad380766d309586b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_MAX_CUR_CAPS_3V0_MASK&#160;&#160;&#160;0x000000F0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Maximum Current Capability at 3.0V. </p>

</div>
</div>
<a class="anchor" id="ga294b0057bfba29e83c63bc05453eaa50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_MAX_CUR_CAPS_3V3_MASK&#160;&#160;&#160;0x0000000FU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Maximum Current Capability at 3.3V. </p>

</div>
</div>
<a class="anchor" id="gafc0ea43ff8514a49657c11921e255efa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_MAX_CURR_CAPS_EXT_OFFSET&#160;&#160;&#160;0x4CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Maximum Current Capabilities Ext Register. </p>

</div>
</div>
<a class="anchor" id="gac0e5b893a03b99150d02a98f504917fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_MAX_CURR_CAPS_OFFSET&#160;&#160;&#160;0x48U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Maximum Current Capabilities Register. </p>

</div>
</div>
<a class="anchor" id="gad8416be998260fa01debc6037f93ee80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_NORM_INTR_SIG_EN_OFFSET&#160;&#160;&#160;0x38U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Normal Interrupt Signal Enable Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga141e3bd95516c55db282fd0a16a290c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_NORM_INTR_STS_EN_OFFSET&#160;&#160;&#160;0x34U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Normal Interrupt Status Enable Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2aa0027ce006eb71c2a954f66643ab54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_NORM_INTR_STS_OFFSET&#160;&#160;&#160;0x30U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Normal Interrupt Status Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1c329941406ddae454526e1711bd5aa3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PC_BUS_PWR_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Bus Power Control. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga03c307e41770161bb6777aba8cfc79ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PC_BUS_VSEL_1V8_MASK&#160;&#160;&#160;0x0000000AU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Bus Voltage 1.8V. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf92a9b2a3faa4002072359e7694541a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PC_BUS_VSEL_3V0_MASK&#160;&#160;&#160;0x0000000CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Bus Voltage 3.0V. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa5dcd35047822e69db6ebaa895160954"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PC_BUS_VSEL_3V3_MASK&#160;&#160;&#160;0x0000000EU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Bus Voltage 3.3V. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga73a0ec34c6a3e9b5b731ad1b52a2be4e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PC_BUS_VSEL_MASK&#160;&#160;&#160;0x0000000EU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Bus Voltage Select. </p>

</div>
</div>
<a class="anchor" id="ga6c09ea0e09500857567b1c13dfa6ecaf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PC_EMMC_HW_RST_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>HW reset for eMMC. </p>

</div>
</div>
<a class="anchor" id="ga380e8cce3edea7db613b20edb3d51646"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_POWER_CTRL_OFFSET&#160;&#160;&#160;0x29U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Power Control. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga01c4bf3a64f6748aad4018ef932a7671"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PRE_VAL_1_OFFSET&#160;&#160;&#160;0x60U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Preset Value Register. </p>

</div>
</div>
<a class="anchor" id="ga8f3ff3f7193c94d20372109e31c31dc0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PRE_VAL_2_OFFSET&#160;&#160;&#160;0x64U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Preset Value Register. </p>

</div>
</div>
<a class="anchor" id="ga13836352ecc3b8b09cbb480fe85cfb88"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PRE_VAL_3_OFFSET&#160;&#160;&#160;0x68U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Preset Value Register. </p>

</div>
</div>
<a class="anchor" id="ga31026ac0c37e10723c72bc56bcf4cf62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PRE_VAL_4_OFFSET&#160;&#160;&#160;0x6CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Preset Value Register. </p>

</div>
</div>
<a class="anchor" id="gac8967bcc25fbea6d46521b28db3afd9d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PRE_VAL_CLK_GEN_SEL_MASK&#160;&#160;&#160;0x0400U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Clock Generator Mode Select. </p>

</div>
</div>
<a class="anchor" id="ga00a11d17ff0271f58f9f4bca9110d077"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PRE_VAL_DRV_STR_SEL_MASK&#160;&#160;&#160;0xC000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Driver Strength Select Value. </p>

</div>
</div>
<a class="anchor" id="ga0c8955eab471574a4284010f44691a65"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PRE_VAL_SDCLK_FSEL_MASK&#160;&#160;&#160;0x03FFU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDCLK Frequency Select Value. </p>

</div>
</div>
<a class="anchor" id="gac4498ffd6183ea9be4bee7d2f178d8d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PRES_STATE_OFFSET&#160;&#160;&#160;0x24U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Present State. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga21b1e1d2f988135ab95198b7f1b38f00"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_BUFF_RD_EN_MASK&#160;&#160;&#160;0x00000800U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Buffer read enable. </p>

</div>
</div>
<a class="anchor" id="gaff86a8ab013da92250fcc5747040c3f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_BUFF_WR_EN_MASK&#160;&#160;&#160;0x00000400U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Buffer write enable. </p>

</div>
</div>
<a class="anchor" id="gabde146f7896b0cf9b576572a17e5fe19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_CARD_DPL_MASK&#160;&#160;&#160;0x00040000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Card detect pin level. </p>

</div>
</div>
<a class="anchor" id="ga101467d47c4d7a58b43009892170ce86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_CARD_INSRT_MASK&#160;&#160;&#160;0x00010000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Card inserted. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7ac2da27df6b90a8ad75cf1bbc309b0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_CARD_STABLE_MASK&#160;&#160;&#160;0x00020000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Card state stable. </p>

</div>
</div>
<a class="anchor" id="ga30516f53fe6a4fe580039cdb3ad6f0db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_CMD_SG_LVL_MASK&#160;&#160;&#160;0x01000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Cmd Line signal lvl. </p>

</div>
</div>
<a class="anchor" id="ga56a5d17d824207b7f14abc374a7cc081"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_DAT30_SG_LVL_MASK&#160;&#160;&#160;0x00F00000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data 3:0 signal lvl. </p>

</div>
</div>
<a class="anchor" id="ga2449643d311274c8aec7c0342c341ff9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_DAT74_SG_LVL_MASK&#160;&#160;&#160;0x1E000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data 7:4 signal lvl. </p>

</div>
</div>
<a class="anchor" id="gaffd59f40c935ac11c82b090afe90f12c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_DAT_ACTIVE_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DAT line active. </p>

</div>
</div>
<a class="anchor" id="ga202c8bc912a7f2b42afdd10887f0c493"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_INHIBIT_CMD_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command inhibit - CMD. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, and <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7814152da74fef6a4308ea81908ad0bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_INHIBIT_DAT_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Command Inhibit - DAT. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, and <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>.</p>

</div>
</div>
<a class="anchor" id="gad7191fb295684001ff129d277151548b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_RD_ACTIVE_MASK&#160;&#160;&#160;0x00000200U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Read transfer active. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>.</p>

</div>
</div>
<a class="anchor" id="gad90261cc9ec8c3fa2941ecb3109cfc19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_RE_TUNING_REQ_MASK&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Re-tuning request. </p>

</div>
</div>
<a class="anchor" id="gadb508485d69d735a8d54d7e649eb7e07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_WPS_PL_MASK&#160;&#160;&#160;0x00080000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Write protect switch pin level. </p>

</div>
</div>
<a class="anchor" id="ga3ca4326266616d0253a9064eca4cbe51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_PSR_WR_ACTIVE_MASK&#160;&#160;&#160;0x00000100U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Write transfer active. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga55b39729f5e5ec333e1729e49c0a3fa0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_RESP0_OFFSET&#160;&#160;&#160;0x10U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Response0 Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>, and <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4ef21ca256af8f6995a821455faaa8e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_RESP1_OFFSET&#160;&#160;&#160;0x14U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Response1 Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize()</a>, and <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gabe4ecffa571fb726055106837a2c6b15"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_RESP2_OFFSET&#160;&#160;&#160;0x18U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Response2 Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize()</a>, and <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gab17cd4546023e6afde6c96141aa35cd6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_RESP3_OFFSET&#160;&#160;&#160;0x1CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Response3 Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize()</a>, and <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga34bf5de34374014e5a35b2fd77ae6182"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_SDMA_BUFF_SIZE_MASK&#160;&#160;&#160;0x00007000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Host SDMA Buffer Size. </p>

</div>
</div>
<a class="anchor" id="gad0e1c3a4ac4fc0c8aed692943dc44935"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_SDMA_SYS_ADDR_HI_OFFSET&#160;&#160;&#160;0x02U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDMA System Address High Register. </p>

</div>
</div>
<a class="anchor" id="gad77f2583a29a5df31c54ed67a95fc893"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_SDMA_SYS_ADDR_LO_OFFSET&#160;&#160;&#160;<a class="el" href="group__sdps__v2__5.html#ga1b844dcb0ed53494ee47d19303e8fdee">XSDPS_SDMA_SYS_ADDR_OFFSET</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDMA System Address Low Register. </p>

</div>
</div>
<a class="anchor" id="ga1b844dcb0ed53494ee47d19303e8fdee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_SDMA_SYS_ADDR_OFFSET&#160;&#160;&#160;0x00U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>SDMA System Address Register. </p>

</div>
</div>
<a class="anchor" id="gafe47ca8a96807b4fb22f09ee18f0c19d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_SHARED_BUS_CTRL_OFFSET&#160;&#160;&#160;0xE0U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Shared Bus Control Register. </p>

</div>
</div>
<a class="anchor" id="gab48f3cb96498fbb0d844ee725b296231"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_SLOT_INTR_STS_INT_MASK&#160;&#160;&#160;0x0007U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Interrupt Signal mask. </p>

</div>
</div>
<a class="anchor" id="ga536885cdab156a2e09a9ace5c8da10ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_SLOT_INTR_STS_OFFSET&#160;&#160;&#160;0xFCU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Slot Interrupt Status Register. </p>

</div>
</div>
<a class="anchor" id="gad4a22634c50518cb7a595ebbe3ef6efa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_SW_RST_OFFSET&#160;&#160;&#160;0x2FU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Software Reset. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, and <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga07b5d7d7fd452540c9a5a2f531e0f82d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_TIMEOUT_CTRL_OFFSET&#160;&#160;&#160;0x2EU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Timeout Control. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6ee1ea5d49f87e0e20ebdc0743ae9250"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_TM_AUTO_CMD12_EN_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Auto CMD12 Enable. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="gab68f2eb2928e7437148e9cd5d9b3a949"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_TM_BLK_CNT_EN_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Block Count Enable. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga99c6cb5b2afc9a13b2f7b2e03bb3ca5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_TM_DAT_DIR_SEL_MASK&#160;&#160;&#160;0x00000010U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Data Transfer Direction Select. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, and <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0704e7175bffbe4b4f34c5597f2cf94f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_TM_DMA_EN_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>DMA Enable. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga85051ce8cc4a768d1e8e912e782ce02e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_TM_MUL_SIN_BLK_SEL_MASK&#160;&#160;&#160;0x00000020U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Multi/Single Block Select. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="gac9ae6a5e649bcb6a25e7f96c37c37947"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_WAKE_UP_CTRL_OFFSET&#160;&#160;&#160;0x2BU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Wake Up Control. </p>

</div>
</div>
<a class="anchor" id="ga772a7f8b8878621f10f9edcdcf45fe09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_WC_WUP_ON_INSRT_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Wakeup Card Insert. </p>

</div>
</div>
<a class="anchor" id="gac45a8661339d777e1f802e38dcb782bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_WC_WUP_ON_INTR_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Wakeup Card Intr. </p>

</div>
</div>
<a class="anchor" id="gabee6427e5b18670be54a11474e9db014"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_WC_WUP_ON_REM_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Wakeup Card Removal. </p>

</div>
</div>
<a class="anchor" id="ga3bd38fbe9d25ae96d5ba2a284fe88a78"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XSDPS_XFER_MODE_OFFSET&#160;&#160;&#160;0x0CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps__hw_8h.html">xsdps_hw.h</a>&gt;</code></p>

<p>Transfer Mode Register. </p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga3c3ab46b98e997b8439af4b149445811"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_CardInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>Initialize Card with Identification mode sequence. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful</li>
<li>XST_FAILURE if failure - could be because a) SD is already initialized b) There is no card inserted c) One of the steps (commands) in the initialization cycle failed </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_sd_ps.html#aa22055804ffd9cbe6885b2abe40fee86">XSdPs::BusSpeed</a>, <a class="el" href="struct_x_sd_ps.html#a069e352a2e02b9a9c0f61787549817db">XSdPs::BusWidth</a>, <a class="el" href="struct_x_sd_ps.html#ace9a2dd34b39f3100f97fcd50883f833">XSdPs::CardType</a>, <a class="el" href="struct_x_sd_ps.html#a11d4222e3ecae1a01aa4c3e34a00ef35">XSdPs::HC_Version</a>, <a class="el" href="struct_x_sd_ps.html#ad8613960aa0353d5a3515d9bc8d8540a">XSdPs::Host_Caps</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="struct_x_sd_ps.html#ad43dbd76cb2740f110f3088a8b592006">XSdPs::Switch1v8</a>, <a class="el" href="group__sdps__v2__5.html#ga749d3d705d7e3932f795287e6eb67c8f">XSDPS_CAPS_EMB_SLOT</a>, <a class="el" href="group__sdps__v2__5.html#ga1f09ac71fb5dfdd6d31e03deb280347b">XSDPS_CAPS_SLOT_TYPE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga1f8661e4ae53a7c29b3fd44cc56a3673">XSdPs_Change_ClkFreq()</a>, <a class="el" href="xsdps__hw_8h.html#a00438bd1ff27c655554bd7a25902032a">XSDPS_CLK_400_KHZ</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga0be8518af877aa1fe5f7c6b86ac4f7f8">XSdPs_Pullup()</a>, <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga17d43f52a8948d5ec4f315641336d115">XSdPs_Select_Card()</a>, <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>, and <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>.</p>

</div>
</div>
<a class="anchor" id="gabcd75a06ca4fb42ebcec4526282dffdf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps___config.html">XSdPs_Config</a> *&#160;</td>
          <td class="paramname"><em>ConfigPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>Initializes a specific <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance such that the driver is ready to use. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance. </td></tr>
    <tr><td class="paramname">ConfigPtr</td><td>is a reference to a structure containing information about a specific SD device. This function initializes an InstancePtr object for a specific device specified by the contents of Config. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the device base address in the virtual memory address space. The caller is responsible for keeping the address mapping from EffectiveAddr to the device physical base address unchanged once this function is invoked. Unexpected errors may occur if the address mapping changes after this function is called. If address translation is not used, use ConfigPtr-&gt;Config.BaseAddress for this device.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_DEVICE_IS_STARTED if the device is already started. It must be stopped to re-initialize.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function initializes the host controller. Initial clock of 400KHz is set. Voltage of 3.3V is selected as that is supported by host. Interrupts status is enabled and signal disabled by default. Default data direction is card to host and 32 bit ADMA2 is selected. Defualt Block size is 512 bytes. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps___config.html#a494f4186575a737efe3f8b3b9848c3c7">XSdPs_Config::CardDetect</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#a11d4222e3ecae1a01aa4c3e34a00ef35">XSdPs::HC_Version</a>, <a class="el" href="struct_x_sd_ps.html#ad8613960aa0353d5a3515d9bc8d8540a">XSdPs::Host_Caps</a>, <a class="el" href="struct_x_sd_ps___config.html#a0f3c5d739bd1567d28b1ef827aedc75b">XSdPs_Config::InputClockHz</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="struct_x_sd_ps___config.html#a096af7ddafe53bdf7e4359f3555ae2c4">XSdPs_Config::WriteProtect</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga9fc8bf6ab09eedf732a86202f9d7e70d">XSDPS_CAP_VOLT_1V8_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gae0b49ee267bef9af48701a0320f94f08">XSDPS_CAP_VOLT_3V0_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga012393a10d9a75838355e716452d2ea3">XSDPS_CAP_VOLT_3V3_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga112509649c3e0a85a48d471395f3ce6c">XSDPS_CAPS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1f8661e4ae53a7c29b3fd44cc56a3673">XSdPs_Change_ClkFreq()</a>, <a class="el" href="xsdps__hw_8h.html#a00438bd1ff27c655554bd7a25902032a">XSDPS_CLK_400_KHZ</a>, <a class="el" href="group__sdps__v2__5.html#ga92f6b9bc19b145ac7c2562115559d5dc">XSDPS_ERR_INTR_SIG_EN_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga7ee4f57e03d125d31fb701b7b3540b47">XSDPS_ERR_INTR_STS_EN_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gaabcb7733a1802a8333d0dda8967787d9">XSDPS_HC_DMA_ADMA2_32_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gaa173508eec0c07f8dc79e46c54a2e45d">XSDPS_HC_SPEC_VER_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga69689aa6e0a5e28196b28c882a9236ae">XSDPS_HOST_CTRL1_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gacc3553b03dddae404e91c08e9a6f6a1e">XSDPS_HOST_CTRL_VER_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga3b1b702abf5a0ff69ccc6383b0e5d9da">XSDPS_INTR_CARD_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gad8416be998260fa01debc6037f93ee80">XSDPS_NORM_INTR_SIG_EN_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga141e3bd95516c55db282fd0a16a290c4">XSDPS_NORM_INTR_STS_EN_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1c329941406ddae454526e1711bd5aa3">XSDPS_PC_BUS_PWR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga03c307e41770161bb6777aba8cfc79ea">XSDPS_PC_BUS_VSEL_1V8_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gaf92a9b2a3faa4002072359e7694541a4">XSDPS_PC_BUS_VSEL_3V0_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gaa5dcd35047822e69db6ebaa895160954">XSDPS_PC_BUS_VSEL_3V3_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga380e8cce3edea7db613b20edb3d51646">XSDPS_POWER_CTRL_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="xsdps__hw_8h.html#a8184055596e3533017e3e5c74a894382">XSdPs_ReadReg8</a>, <a class="el" href="group__sdps__v2__5.html#gad4a22634c50518cb7a595ebbe3ef6efa">XSDPS_SW_RST_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gab68f2eb2928e7437148e9cd5d9b3a949">XSDPS_TM_BLK_CNT_EN_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga99c6cb5b2afc9a13b2f7b2e03bb3ca5c">XSDPS_TM_DAT_DIR_SEL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga0704e7175bffbe4b4f34c5597f2cf94f">XSDPS_TM_DMA_EN_MASK</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, <a class="el" href="xsdps__hw_8h.html#a999a865f3f058ecb95492e88e6807210">XSdPs_WriteReg8</a>, and <a class="el" href="group__sdps__v2__5.html#ga3bd38fbe9d25ae96d5ba2a284fe88a78">XSDPS_XFER_MODE_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="ga6bc000fb4ce51502058f2e351c90fc19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Change_BusSpeed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>API to set high speed in card and host. </p>
<p>Changes clock in host accordingly.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if fail.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#aa22055804ffd9cbe6885b2abe40fee86">XSdPs::BusSpeed</a>, <a class="el" href="struct_x_sd_ps.html#ace9a2dd34b39f3100f97fcd50883f833">XSdPs::CardType</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="group__sdps__v2__5.html#gaa50e45067119d5516ebd171efc11bdf1">XSDPS_BLK_SIZE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1f8661e4ae53a7c29b3fd44cc56a3673">XSdPs_Change_ClkFreq()</a>, <a class="el" href="xsdps__hw_8h.html#abd543d644ecb839a4e0e353465acb782">XSDPS_CLK_50_MHZ</a>, <a class="el" href="xsdps__hw_8h.html#adccb3f34649212e076ede7b7d0d0e5b4">XSDPS_CLK_52_MHZ</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gaa07ab5096cbcff0ea531cd87dad81b99">XSDPS_HC_SPEED_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga69689aa6e0a5e28196b28c882a9236ae">XSDPS_HOST_CTRL1_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga4840b3795e951ab39a111003464f2334">XSDPS_INTR_TC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="xsdps__hw_8h.html#a8184055596e3533017e3e5c74a894382">XSdPs_ReadReg8</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, <a class="el" href="group__sdps__v2__5.html#ga99c6cb5b2afc9a13b2f7b2e03bb3ca5c">XSDPS_TM_DAT_DIR_SEL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga0704e7175bffbe4b4f34c5597f2cf94f">XSDPS_TM_DMA_EN_MASK</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, <a class="el" href="xsdps__hw_8h.html#a999a865f3f058ecb95492e88e6807210">XSdPs_WriteReg8</a>, and <a class="el" href="group__sdps__v2__5.html#ga3bd38fbe9d25ae96d5ba2a284fe88a78">XSDPS_XFER_MODE_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf11db1719933123762fecb790a2977da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Change_BusWidth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>API to set bus width to 4-bit in card and host. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if fail.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a069e352a2e02b9a9c0f61787549817db">XSdPs::BusWidth</a>, <a class="el" href="struct_x_sd_ps.html#ace9a2dd34b39f3100f97fcd50883f833">XSdPs::CardType</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#a11d4222e3ecae1a01aa4c3e34a00ef35">XSdPs::HC_Version</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="struct_x_sd_ps.html#a6c40b5686bd92c1a00b208cce84583c7">XSdPs::RelCardAddr</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga053e5cfcf8ad9023810507a1ef2f15bf">XSDPS_HC_EXT_BUS_WIDTH</a>, <a class="el" href="group__sdps__v2__5.html#ga259e62cdf5c866dfcc1607810a14e293">XSDPS_HC_WIDTH_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga69689aa6e0a5e28196b28c882a9236ae">XSDPS_HOST_CTRL1_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga4840b3795e951ab39a111003464f2334">XSDPS_INTR_TC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="xsdps__hw_8h.html#a8184055596e3533017e3e5c74a894382">XSdPs_ReadReg8</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, and <a class="el" href="xsdps__hw_8h.html#a999a865f3f058ecb95492e88e6807210">XSdPs_WriteReg8</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1f8661e4ae53a7c29b3fd44cc56a3673"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Change_ClkFreq </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>SelFreq</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>API to change clock freq to given value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance. </td></tr>
    <tr><td class="paramname">SelFreq</td><td>- Clock frequency in Hz.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This API will change clock frequency to the value less than or equal to the given value using the permissible dividors. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#a11d4222e3ecae1a01aa4c3e34a00ef35">XSdPs::HC_Version</a>, <a class="el" href="struct_x_sd_ps___config.html#a0f3c5d739bd1567d28b1ef827aedc75b">XSdPs_Config::InputClockHz</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="group__sdps__v2__5.html#ga6386e0e4144576279df5f50d2e38625a">XSDPS_CLK_CTRL_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, and <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, and <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1c5c45efb0402b9d8e6a33d036dbd220"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_CmdTransfer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BlkCnt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>This function does SD command generation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the instance to be worked on. </td></tr>
    <tr><td class="paramname">Cmd</td><td>is the command to be sent. </td></tr>
    <tr><td class="paramname">Arg</td><td>is the argument to be sent along with the command. This could be address or any other information </td></tr>
    <tr><td class="paramname">BlkCnt</td><td>- Block count passed by the user.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful</li>
<li>XST_FAILURE if failure - could be because another transfer is in progress or command or data inhibit is set </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="group__sdps__v2__5.html#ga0f629f596d2bcbdac2d2064dd834222e">XSDPS_ARGMT_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gae0c324dd75ec228b0f7983f227202675">XSDPS_BLK_CNT_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gac9d156acd34095afa82ca28c2d9fd711">XSDPS_CMD_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad5f983cd6daadb92a96fa4e7674541cc">XSDPS_CT_ERROR</a>, <a class="el" href="group__sdps__v2__5.html#gac9024b7da140cf1c18555825b3827750">XSDPS_DAT_PRESENT_SEL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga959b013962a6b53aa1c52f8ed78153be">XSdPs_FrameCmd()</a>, <a class="el" href="group__sdps__v2__5.html#ga96cfd1bf0599a109711447c1839ee6a5">XSDPS_INTR_CC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gae2736e5f9616fa0a8093c032d73e8c06">XSDPS_INTR_ERR_CT_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gac4498ffd6183ea9be4bee7d2f178d8d0">XSDPS_PRES_STATE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga202c8bc912a7f2b42afdd10887f0c493">XSDPS_PSR_INHIBIT_CMD_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga7814152da74fef6a4308ea81908ad0bb">XSDPS_PSR_INHIBIT_DAT_MASK</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="group__sdps__v2__5.html#ga07b5d7d7fd452540c9a5a2f531e0f82d">XSDPS_TIMEOUT_CTRL_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#ac4aa5ec8c5cdb784b1741a7c940c707d">XSdPs_WriteReg</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, and <a class="el" href="xsdps__hw_8h.html#a999a865f3f058ecb95492e88e6807210">XSdPs_WriteReg8</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga0be8518af877aa1fe5f7c6b86ac4f7f8">XSdPs_Pullup()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga17d43f52a8948d5ec4f315641336d115">XSdPs_Select_Card()</a>, <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga959b013962a6b53aa1c52f8ed78153be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XSdPs_FrameCmd </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Cmd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>This function frames the Command register for a particular command. </p>
<p>Note that this generates only the command register value i.e. the upper 16 bits of the transfer mode and command register. This value is already shifted to be upper 16 bits and can be directly OR'ed with transfer mode register value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Command</td><td>to be sent.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Command register value complete with response type and data, CRC and index related flags. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps.html#ace9a2dd34b39f3100f97fcd50883f833">XSdPs::CardType</a>, and <a class="el" href="group__sdps__v2__5.html#gac9024b7da140cf1c18555825b3827750">XSDPS_DAT_PRESENT_SEL_MASK</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

</div>
</div>
<a class="anchor" id="gafc7e71cb62142d0ef939336195102666"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Get_BusSpeed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>ReadBuff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>API to get bus speed supported by card. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance. </td></tr>
    <tr><td class="paramname">ReadBuff</td><td>- buffer to store function group support data returned by card.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if fail.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="group__sdps__v2__5.html#gaa50e45067119d5516ebd171efc11bdf1">XSDPS_BLK_SIZE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga4840b3795e951ab39a111003464f2334">XSDPS_INTR_TC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, <a class="el" href="group__sdps__v2__5.html#ga99c6cb5b2afc9a13b2f7b2e03bb3ca5c">XSDPS_TM_DAT_DIR_SEL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga0704e7175bffbe4b4f34c5597f2cf94f">XSDPS_TM_DMA_EN_MASK</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, and <a class="el" href="group__sdps__v2__5.html#ga3bd38fbe9d25ae96d5ba2a284fe88a78">XSDPS_XFER_MODE_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga779d417f6a1e5d772b017a92485583a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Get_BusWidth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>SCR</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>API to get bus width support by card. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance. </td></tr>
    <tr><td class="paramname">SCR</td><td>- buffer to store SCR register returned by card.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if fail.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="struct_x_sd_ps.html#a6c40b5686bd92c1a00b208cce84583c7">XSdPs::RelCardAddr</a>, <a class="el" href="group__sdps__v2__5.html#gaa50e45067119d5516ebd171efc11bdf1">XSDPS_BLK_SIZE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga4840b3795e951ab39a111003464f2334">XSDPS_INTR_TC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, <a class="el" href="group__sdps__v2__5.html#ga99c6cb5b2afc9a13b2f7b2e03bb3ca5c">XSDPS_TM_DAT_DIR_SEL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga0704e7175bffbe4b4f34c5597f2cf94f">XSDPS_TM_DMA_EN_MASK</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, and <a class="el" href="group__sdps__v2__5.html#ga3bd38fbe9d25ae96d5ba2a284fe88a78">XSDPS_XFER_MODE_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga69e8d7cd927da4273a12d0d5fb3f36ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Get_Mmc_ExtCsd </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>ReadBuff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>API to get EXT_CSD register of eMMC. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance. </td></tr>
    <tr><td class="paramname">ReadBuff</td><td>- buffer to store EXT_CSD</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if fail.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="group__sdps__v2__5.html#gaa50e45067119d5516ebd171efc11bdf1">XSDPS_BLK_SIZE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga4840b3795e951ab39a111003464f2334">XSDPS_INTR_TC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, <a class="el" href="group__sdps__v2__5.html#ga99c6cb5b2afc9a13b2f7b2e03bb3ca5c">XSDPS_TM_DAT_DIR_SEL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga0704e7175bffbe4b4f34c5597f2cf94f">XSDPS_TM_DMA_EN_MASK</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, and <a class="el" href="group__sdps__v2__5.html#ga3bd38fbe9d25ae96d5ba2a284fe88a78">XSDPS_XFER_MODE_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga27d6bd37204cdb0c26430efedd8e97eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_sd_ps___config.html">XSdPs_Config</a> * XSdPs_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>Looks up the device configuration based on the unique device ID. </p>
<p>A table contains the configuration info for each device in the system.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>contains the ID of the device to look up the configuration for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p>A pointer to the configuration found or NULL if the specified device ID was not found. See <a class="el" href="xsdps_8h.html">xsdps.h</a> for the definition of <a class="el" href="struct_x_sd_ps___config.html" title="This typedef contains configuration information for the device. ">XSdPs_Config</a>.</p>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="gae55b1aa663629e99a9da94619c7487c5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_MmcCardInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>Mmc initialization is done in this function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful</li>
<li>XST_FAILURE if failure - could be because a) MMC is already initialized b) There is no card inserted c) One of the steps (commands) in the initialization cycle failed </li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function initializes the SD card by following its initialization and identification state diagram. CMD0 is sent to reset card. CMD1 sent to identify voltage and high capacity support CMD2 and CMD3 are sent to obtain Card ID and Relative card address respectively. CMD9 is sent to read the card specific data. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps___config.html#a494f4186575a737efe3f8b3b9848c3c7">XSdPs_Config::CardDetect</a>, <a class="el" href="struct_x_sd_ps.html#a8219b2ad6434c77a0101b75919fe4a55">XSdPs::CardID</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#a1b42689f5e0abe7e468108755a1691fd">XSdPs::HCS</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="struct_x_sd_ps.html#a6c40b5686bd92c1a00b208cce84583c7">XSdPs::RelCardAddr</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#gac4498ffd6183ea9be4bee7d2f178d8d0">XSDPS_PRES_STATE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga101467d47c4d7a58b43009892170ce86">XSDPS_PSR_CARD_INSRT_MASK</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga4ef21ca256af8f6995a821455faaa8e1">XSDPS_RESP1_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gabe4ecffa571fb726055106837a2c6b15">XSDPS_RESP2_OFFSET</a>, and <a class="el" href="group__sdps__v2__5.html#gab17cd4546023e6afde6c96141aa35cd6">XSDPS_RESP3_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0be8518af877aa1fe5f7c6b86ac4f7f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Pullup </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>API to send pullup command to card before using DAT line 3(using 4-bit bus) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if fail.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="struct_x_sd_ps.html#a6c40b5686bd92c1a00b208cce84583c7">XSdPs::RelCardAddr</a>, and <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8dfe3686ed74d09a2a46a7b5cddcde47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_ReadPolled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BlkCnt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>Buff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>This function performs SD read in polled mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the instance to be worked on. </td></tr>
    <tr><td class="paramname">Arg</td><td>is the address passed by the user that is to be sent as argument along with the command. </td></tr>
    <tr><td class="paramname">BlkCnt</td><td>- Block count passed by the user. </td></tr>
    <tr><td class="paramname">Buff</td><td>- Pointer to the data buffer for a DMA transfer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful</li>
<li>XST_FAILURE if failure - could be because another transfer is in progress or command or data inhibit is set </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps___config.html#a494f4186575a737efe3f8b3b9848c3c7">XSdPs_Config::CardDetect</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga4840b3795e951ab39a111003464f2334">XSDPS_INTR_TC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gac4498ffd6183ea9be4bee7d2f178d8d0">XSDPS_PRES_STATE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga101467d47c4d7a58b43009892170ce86">XSDPS_PSR_CARD_INSRT_MASK</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, <a class="el" href="group__sdps__v2__5.html#ga6ee1ea5d49f87e0e20ebdc0743ae9250">XSDPS_TM_AUTO_CMD12_EN_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gab68f2eb2928e7437148e9cd5d9b3a949">XSDPS_TM_BLK_CNT_EN_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga99c6cb5b2afc9a13b2f7b2e03bb3ca5c">XSDPS_TM_DAT_DIR_SEL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga0704e7175bffbe4b4f34c5597f2cf94f">XSDPS_TM_DMA_EN_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga85051ce8cc4a768d1e8e912e782ce02e">XSDPS_TM_MUL_SIN_BLK_SEL_MASK</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, and <a class="el" href="group__sdps__v2__5.html#ga3bd38fbe9d25ae96d5ba2a284fe88a78">XSDPS_XFER_MODE_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="ga8e9a576dfdb4440a795eb6e712994050"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_SdCardInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>SD initialization is done in this function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful</li>
<li>XST_FAILURE if failure - could be because a) SD is already initialized b) There is no card inserted c) One of the steps (commands) in the initialization cycle failed</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function initializes the SD card by following its initialization and identification state diagram. CMD0 is sent to reset card. CMD8 and ACDM41 are sent to identify voltage and high capacity support CMD2 and CMD3 are sent to obtain Card ID and Relative card address respectively. CMD9 is sent to read the card specific data. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a0b6e466f05d6ac3fb4916a640b0c02c5">XSdPs::Card_Version</a>, <a class="el" href="struct_x_sd_ps___config.html#a494f4186575a737efe3f8b3b9848c3c7">XSdPs_Config::CardDetect</a>, <a class="el" href="struct_x_sd_ps.html#a8219b2ad6434c77a0101b75919fe4a55">XSdPs::CardID</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#a11d4222e3ecae1a01aa4c3e34a00ef35">XSdPs::HC_Version</a>, <a class="el" href="struct_x_sd_ps.html#a1b42689f5e0abe7e468108755a1691fd">XSdPs::HCS</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="struct_x_sd_ps.html#a6c40b5686bd92c1a00b208cce84583c7">XSdPs::RelCardAddr</a>, <a class="el" href="struct_x_sd_ps.html#ad43dbd76cb2740f110f3088a8b592006">XSdPs::Switch1v8</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#gad5f983cd6daadb92a96fa4e7674541cc">XSDPS_CT_ERROR</a>, <a class="el" href="group__sdps__v2__5.html#gac4498ffd6183ea9be4bee7d2f178d8d0">XSDPS_PRES_STATE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga101467d47c4d7a58b43009892170ce86">XSDPS_PSR_CARD_INSRT_MASK</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="xsdps__hw_8h.html#a8184055596e3533017e3e5c74a894382">XSdPs_ReadReg8</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga4ef21ca256af8f6995a821455faaa8e1">XSDPS_RESP1_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gabe4ecffa571fb726055106837a2c6b15">XSDPS_RESP2_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gab17cd4546023e6afde6c96141aa35cd6">XSDPS_RESP3_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#abbc29a3acebf5bea2f4afb199b57d9f7">XSDPS_SD_VER_1_0</a>, <a class="el" href="xsdps__hw_8h.html#ace3664498f4835a67a54b75f73c93017">XSDPS_SD_VER_2_0</a>, <a class="el" href="group__sdps__v2__5.html#gad4a22634c50518cb7a595ebbe3ef6efa">XSDPS_SW_RST_OFFSET</a>, and <a class="el" href="xsdps__hw_8h.html#a999a865f3f058ecb95492e88e6807210">XSdPs_WriteReg8</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga17d43f52a8948d5ec4f315641336d115"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Select_Card </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>Selects card and sets default block size. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if fail.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps.html#a6c40b5686bd92c1a00b208cce84583c7">XSdPs::RelCardAddr</a>, and <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1af3178b4b24c991b431eb7a0aa3b23b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_SetBlkSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>BlkSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8h.html">xsdps.h</a>&gt;</code></p>

<p>Update Block size for read/write operations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the instance to be worked on. </td></tr>
    <tr><td class="paramname">BlkSize</td><td>- Block size passed by the user.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="group__sdps__v2__5.html#gaa50e45067119d5516ebd171efc11bdf1">XSDPS_BLK_SIZE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#gac4498ffd6183ea9be4bee7d2f178d8d0">XSDPS_PRES_STATE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga202c8bc912a7f2b42afdd10887f0c493">XSDPS_PSR_INHIBIT_CMD_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga7814152da74fef6a4308ea81908ad0bb">XSDPS_PSR_INHIBIT_DAT_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gad7191fb295684001ff129d277151548b">XSDPS_PSR_RD_ACTIVE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga3ca4326266616d0253a9064eca4cbe51">XSDPS_PSR_WR_ACTIVE_MASK</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="group__sdps__v2__5.html#ga55b39729f5e5ec333e1729e49c0a3fa0">XSDPS_RESP0_OFFSET</a>, and <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf9b8a29b65e1213b11ad22312e5f84be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XSdPs_SetupADMA2DescTbl </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BlkCnt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>Buff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>API to setup ADMA2 descriptor table. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance. </td></tr>
    <tr><td class="paramname">BlkCnt</td><td>- block count. </td></tr>
    <tr><td class="paramname">Buff</td><td>pointer to data buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="group__sdps__v2__5.html#gae96828d548d3bdb30ed057eb0bdc8be1">XSDPS_ADMA_SAR_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gaa50e45067119d5516ebd171efc11bdf1">XSDPS_BLK_SIZE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, and <a class="el" href="xsdps__hw_8h.html#ac4aa5ec8c5cdb784b1741a7c940c707d">XSdPs_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed()</a>, <a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth()</a>, <a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd()</a>, <a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled()</a>, <a class="el" href="group__sdps__v2__5.html#gac1b8731883e13754fb03d56327ef2b5d">XSdPs_Uhs_ModeInit()</a>, and <a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled()</a>.</p>

</div>
</div>
<a class="anchor" id="gac1b8731883e13754fb03d56327ef2b5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_Uhs_ModeInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>API to UHS-I mode initialization. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance. </td></tr>
    <tr><td class="paramname">Mode</td><td>UHS-I mode</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if successful.</li>
<li>XST_FAILURE if fail.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps.html#aa22055804ffd9cbe6885b2abe40fee86">XSdPs::BusSpeed</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="struct_x_sd_ps.html#ab0fec7949e73bc680a138fbf644bd692">XSdPs::IsReady</a>, <a class="el" href="group__sdps__v2__5.html#gaa50e45067119d5516ebd171efc11bdf1">XSDPS_BLK_SIZE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1f8661e4ae53a7c29b3fd44cc56a3673">XSdPs_Change_ClkFreq()</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga137b2781f85ffdfea87a8db1dcdcdcb9">XSDPS_HC2_UHS_MODE_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga487b97e471f359589c38ae2ecba72b0c">XSDPS_HOST_CTRL2_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga4840b3795e951ab39a111003464f2334">XSDPS_INTR_TC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, <a class="el" href="group__sdps__v2__5.html#ga99c6cb5b2afc9a13b2f7b2e03bb3ca5c">XSDPS_TM_DAT_DIR_SEL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga0704e7175bffbe4b4f34c5597f2cf94f">XSDPS_TM_DMA_EN_MASK</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, and <a class="el" href="group__sdps__v2__5.html#ga3bd38fbe9d25ae96d5ba2a284fe88a78">XSDPS_XFER_MODE_OFFSET</a>.</p>

<p>Referenced by <a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga69aa57979c1ef9b9ec3fbdc6d8ab7277"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XSdPs_WritePolled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sd_ps.html">XSdPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>BlkCnt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const u8 *&#160;</td>
          <td class="paramname"><em>Buff</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xsdps_8c.html">xsdps.c</a>&gt;</code></p>

<p>This function performs SD write in polled mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the instance to be worked on. </td></tr>
    <tr><td class="paramname">Arg</td><td>is the address passed by the user that is to be sent as argument along with the command. </td></tr>
    <tr><td class="paramname">BlkCnt</td><td>- Block count passed by the user. </td></tr>
    <tr><td class="paramname">Buff</td><td>- Pointer to the data buffer for a DMA transfer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful</li>
<li>XST_FAILURE if failure - could be because another transfer is in progress or command or data inhibit is set </li>
</ul>
</dd></dl>

<p>References <a class="el" href="struct_x_sd_ps___config.html#a1292694414923fdc17e1f6a0e00db2f6">XSdPs_Config::BaseAddress</a>, <a class="el" href="struct_x_sd_ps___config.html#a494f4186575a737efe3f8b3b9848c3c7">XSdPs_Config::CardDetect</a>, <a class="el" href="struct_x_sd_ps.html#a9ab6ed4e7a1155a0708152ca2f27d650">XSdPs::Config</a>, <a class="el" href="group__sdps__v2__5.html#ga056c8c37db130b3e8f553e38190e4578">XSDPS_BLK_SIZE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga1c5c45efb0402b9d8e6a33d036dbd220">XSdPs_CmdTransfer()</a>, <a class="el" href="group__sdps__v2__5.html#ga21efb57620515a9d11db602b1122ab87">XSDPS_ERR_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gad18091c797badbc471309b3e306de17c">XSDPS_ERROR_INTR_ALL_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga322ecca01a208464114226107c6a2961">XSDPS_INTR_ERR_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga4840b3795e951ab39a111003464f2334">XSDPS_INTR_TC_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga2aa0027ce006eb71c2a954f66643ab54">XSDPS_NORM_INTR_STS_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#gac4498ffd6183ea9be4bee7d2f178d8d0">XSDPS_PRES_STATE_OFFSET</a>, <a class="el" href="group__sdps__v2__5.html#ga101467d47c4d7a58b43009892170ce86">XSDPS_PSR_CARD_INSRT_MASK</a>, <a class="el" href="xsdps__hw_8h.html#a646a41608d5de978c0a20b3e762ecf8e">XSdPs_ReadReg</a>, <a class="el" href="xsdps__hw_8h.html#ac8bb7456993f8b6896274b04ca8f763f">XSdPs_ReadReg16</a>, <a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize()</a>, <a class="el" href="group__sdps__v2__5.html#gaf9b8a29b65e1213b11ad22312e5f84be">XSdPs_SetupADMA2DescTbl()</a>, <a class="el" href="group__sdps__v2__5.html#ga6ee1ea5d49f87e0e20ebdc0743ae9250">XSDPS_TM_AUTO_CMD12_EN_MASK</a>, <a class="el" href="group__sdps__v2__5.html#gab68f2eb2928e7437148e9cd5d9b3a949">XSDPS_TM_BLK_CNT_EN_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga0704e7175bffbe4b4f34c5597f2cf94f">XSDPS_TM_DMA_EN_MASK</a>, <a class="el" href="group__sdps__v2__5.html#ga85051ce8cc4a768d1e8e912e782ce02e">XSDPS_TM_MUL_SIN_BLK_SEL_MASK</a>, <a class="el" href="xsdps__hw_8h.html#ab82227212d9a9ff62265b208260b54df">XSdPs_WriteReg16</a>, and <a class="el" href="group__sdps__v2__5.html#ga3bd38fbe9d25ae96d5ba2a284fe88a78">XSDPS_XFER_MODE_OFFSET</a>.</p>

</div>
</div>
</div><!-- contents -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
